package Inherit;

public class Main {
    public static void main(String[] args) {
        Rect r = new Rect(10.0,10.0);
        r.getArea();

        Rect rect1 = new Rect();
        rect1.setWeight(5);
        rect1.setHeight(8);
        rect1.getArea();

       
    }

}
